LassoScript Utility
Basics Browse Detail

[File->SetSize]

Tag Link [File->SetSize] Category File
Type Member Source Available Yes
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type None Security File
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0

Description

Sets the size of the file. Requires an interger parameter that specifies the size of the file (in bytes).

Syntax

[File Variable->SetSize]

Parameters

Required Parameters
Integer Specifies the size of the file in bytes.

Examples

To set the size for a file:

Use the [File->SetSize] on a defined file variable.

[Var:'File'=(File: 'myfile.txt', File_OpenReadWrite, File_ModeChar)]
[$File->(SetSize: 640)]